package tp.pr2;

public abstract class Item {
	private java.lang.String id;
    private java.lang.String description;
    
	public Item(java.lang.String id,
		    java.lang.String description)
	{
	 this.id=id;
	 this.description=description;
	}
	
	public abstract boolean canBeUsed();
	
	public abstract boolean use(RobotEngine r,Place p);
	
	public java.lang.String getId()
	{
		return id;
	}
	
	public java.lang.String toString()
	{
	 return (id +" :"+ description);
	}
	
}
